<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 05.02.2015
 * Time: 16:40
 */

namespace Multilang;


use Pinenut\Config;

class FilterFormConfig extends Config
{
	public static $config = [
		'htmlOptions' => [
			'method' => 'POST'
		],
		//'style' => 'userSearch',
		'elements' => [
			'filterText' => [
				'type' => 'text',
				'style' => 'multilang',
				'filters' => 'trim',
				'label' => ' ',
				'noneSelectedText' => 'Nothing',
			],
			'filterType' => [
				'type' => 'select',
				'label' => ' ',
				//'style' => 'compact',
				'style' => 'multilang',
				'validators' => 'notEmpty',
				'options' => [
					'pageAndHidden' => 'page + hidden',
					'page' => 'page',
					'all' => 'all'
				]
			],
		]
	];
}